snippet cmp "Description" w
int cmp(const void *a, const void *b) {
    const $1 *x = a;
    const $1 *y = b;
    >++>
}
endsnippet

snippet def "Description" w
#define $1 >++>
endsnippet

snippet str "Description" w
typedef struct $1 {
	>++>
}>++>;
endsnippet

snippet inc "Description" w
#include $1
endsnippet

snippet f "Description" w
for ($1; >++>; >++>) {
	>++>
}
endsnippet

snippet cm "Comment Section"
/* ${0} */
endsnippet

snippet st "printf"
printf(${0});
endsnippet

snippet al "Description" b
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>
void init();

$1

void init() {
	>++>
}

int main() {
	init();
	return 0;
}
endsnippet

snippet p "Description" w
printf("$1">++>);
endsnippet

